<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="margin-top: 50px;">
        <span>我是第二个页面、自动跳转中...</span>
    </div>
    <script>
        (() => {
            setTimeout(() => {
                window.location.replace('./end.html')
            }, 1000)
        })()
    </script>
</body>
</html>